package java8.chapter09.test;

import java.util.Arrays;
import java.util.List;

public class Game {

	public static void main(String[] args) {
		List<Resizable> resizableShapes = Arrays.asList(new Square(), new Triangle(), new Ellipse());
		Utils.paint(resizableShapes);
	}

}